package org.xxx.epms.inspector.dto;


import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.xxx.epms.inspector.model.InspectorDetails;

@Getter
@Setter
@NoArgsConstructor
public class InspectorDetailsDto {

    private Integer insId;

    private String insPassword;

    public InspectorDetailsDto(InspectorDetails inspectorDetails){
        this.insId = Integer.valueOf(inspectorDetails.getUsername());
        this.insPassword = inspectorDetails.getPassword();
    }
}
